<?php
// comment callback functions

function mod_com_update($item_id, $total_num){
	$db =& Database::getInstance();
	$sql = 'UPDATE '.$db->prefix('mp3player_musica').' SET comentarios = '.$total_num.' WHERE id = '.$item_id;
	$db->query($sql);
}
function mod_com_approve(&$comment){
	// notification mail here
}
?>